package myrecyclerview

import android.content.Context
import android.graphics.Rect
import android.view.View
import androidx.recyclerview.widget.LinearLayoutManager
import androidx.recyclerview.widget.RecyclerView

/**
 * @dsc     简介
 * @Author  LiWeiZhong
 * @Date    2025/6/21 13:58
 * @Version 1.0
 */
class MyLinearLayoutManager(context: Context): LinearLayoutManager(context) {
    override fun requestChildRectangleOnScreen(
        parent: RecyclerView,
        child: View,
        rect: Rect,
        immediate: Boolean,
        focusedChildVisible: Boolean
    ): Boolean {
        return false // 不处理滚动
    }

}